package com.webcamp.bp;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Main {
	public static void main(String[] args) {
		ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext("com/webcamp/ctx/simple-ctx.xml");
		
		InterfaceConsumer ic = (InterfaceConsumer) ctx.getBean("consumer");
		ic.consume();
		
		System.out.println(ctx);
	}
}
